package com.atguigu.tingshu.user.cdc;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.persistence.Column;

/**
 * @className: User
 * @author: xiaoxu
 * @date: 2024/8/31 15:57
 * @Version: 1.0
 * @description:
 */
@Slf4j
@Component
@Data
public class User {
    @Column(unique = true, nullable = false)
    private Integer id;

}
